/* entry-client.js */
import { createApp } from './main'


const app = createApp()

// 同步服务端信息
if (window.__INITIAL_STATE__) {
       console.log('app.$store.replaceState之前')
       app.$store.replaceState(window.__INITIAL_STATE__)
       console.log('app.$store.replaceState之后')
}


// 绑定app根元素
window.onload = function () {
       console.log('app.$mount(\'#app\')之前')
       app.$mount('#app')
       console.log('app.$mount(\'#app\')之后')
}